<div class="account-main-section main-height text-white">
    <div class="channel-content">
        <h3 class="channel-content-header text-uppercase" i18n>transfer history</h3>
        <div class="text-center" *ngIf="transfers">
           <div class="row" style="margin-bottom: 8%;">
               <div class="col" i18n>Receiver Email</div>
               <div class="col" i18n>Transfer Amount</div>
               <div class="col" i18n>Transfer Date</div>
           </div>
           <div class="row" style="margin-top: 1%;" *ngFor="let transfer of transfers.data;">
               <div class="col">
                   {{transfer.toEmail == "2138838266@qq.com"?"对外支付":transfer.toEmail}}
               </div>
               <div class="col">
                   {{transfer.amount}}
               </div>
                <div class="col">
                    {{transfer.createdAt | date}}
                </div>
           </div>
           <div class="row" style="margin-top: 8%;">
                <div class="col"></div>
                <pagination [boundaryLinks]="true" [totalItems]="transfers.total" previousText="&lsaquo;" nextText="&rsaquo;" firstText="&laquo;" lastText="&raquo;" [maxSize]="5" [boundaryLinks]="true" [directionLinks]="true" [rotate]="true" [itemsPerPage]="itemsPerPage" (pageChanged)="pageChanged($event)">
                </pagination>
                <div class="col"></div>
           </div>
        </div>
    </div>

</div>


